const path = require('path')

function resolve(dir) {
  return path.join(__dirname, dir)
}
module.exports = {
    devServer: {
        publicpath:"./",
        disableHostCheck: false,
        port: 3300,
        https: false,
        proxy: {
            "/h5" : {
                // "target" : "http://192.168.0.167:81",
                target : "https://mapi.zjzwfw.gov.cn",
                // "target":"http://localhost:8080/hht_mall/",
                changOrigin: true,
                pathRewrite: {
                    "^/h5" : ""
                }
            }
        },
    },
}